package cn.tedu.ivos.vehicle.service;

import cn.tedu.ivos.vehicle.pojo.dto.VehicleQuery;
import cn.tedu.ivos.vehicle.pojo.dto.VehicleSaveParam;
import cn.tedu.ivos.vehicle.pojo.vo.VehicleVO;

import java.util.List;

public interface VehicleService {
   //车辆查询
   List<VehicleVO> selectVehicle(VehicleQuery vehicleQuery);
   //新增车辆
   void saveVehicle(VehicleSaveParam vehicleSaveParam);
   //根据id进行删除
   void deleteVehicle(Long id);
   //围栏和车辆进行解绑
   void unBindVehicle(Long vehicleId);
   //根据围栏id查询对应的车辆信息
   List<VehicleVO> selectVehicleByGeoId(Long geoId);
   //绑定车辆的方法
   void bindVehicle(Long geofenceId,Long vehicleId);
}
